package com.huli.service.impl;

import com.huli.dao.OrdersMapper;
import com.huli.dto.PayOrdersDto;
import com.huli.service.OrdersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class OrdersServiceImpl implements OrdersService {
    @Autowired
    OrdersMapper ordersMapper;

    @Override
    public List<PayOrdersDto> selectAllPayOrders(int garageId) {
        return ordersMapper.selectAllPayOrders(garageId);
    }
}
